<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">

    <title>九点进销存</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="stylesheet" href="../assets/css/font.css">
    <link rel="stylesheet" href="../assets/css/xadmin.css">
    <script>

        // 是否开启刷新记忆tab功能
        // var is_remember = false;
    </script>
    <style>
        .sub-menu cite {
            margin-left: 0px;
        }
        .fa {
            content: '';
            width: 0;
            height: 0;
            overflow: hidden;
            cursor: pointer;
            transition: all .2s;
            -webkit-transition: all .2s;
            border-width: 6px;
            border-top-color: rgba(0,0,0,.7);
            margin-top: 0px;
            float: right;
        }
        .fa.open{
            border-style: dashed dashed solid;
            border-color: transparent transparent #000000;
        }
        .fa.close{
            margin-top: 7px;
            border-style: solid dashed dashed;
            border-color: #000000 transparent transparent;

        }
        .layui-tab {
            margin:  1px 0px;
            text-align: left !important;
        }
        /**
        多窗口页面操作下拉
        **/
        .closeBox {
            position: absolute;
            right: 0;
            background-color: #fff !important;
            color: #000;
            border-left: 1px solid #e2e2e2;
            border-bottom: 1px solid #e2e2e2;
            padding: 0 10px !important;
        }
        .closeBox .layui-nav-item {
            line-height: 40px;
        }
        .closeBox .layui-nav-item > a, .closeBox .layui-nav-item > a:hover {
            color: #000;
        }
        .closeBox .layui-nav-child {
            top: 42px;
            left: -12px;
        }
        .closeBox .layui-nav-bar {
            display: none;
        }
        .closeBox a i.caozuo {
            font-size: 20px;
            position: absolute;
            top: 1px;
            left: 0;
        }
        .closeBox a span.layui-nav-more {
            border-color: #333 transparent transparent;
        }
        .closeBox a span.layui-nav-more.layui-nav-mored {
            border-color: transparent transparent #333;
        }
        /**
tab选项卡
 */
        .layui-tab-title li cite {
            font-style: normal;
            padding-left: 5px;
        }

        .layui-tab-title .layui-this:after {
           // border: none;
        }
        #top_tabs_box {
            padding-right: 138px;
            height: 30px;
            border-bottom: 1px solid #e2e2e2;
        }
        #top_tabs_box > .layui-tab-title {
            height: 30px !important;
        }

        #top_tabs_box > .layui-tab-title > li {
            line-height: 30px !important;
        }

        #top_tabs_box > .closeBox {
            height: 31px !important;
        }
        #top_tabs_box > .closeBox > li {
            line-height: 30px !important;
        }
        #top_tabs {
            position: absolute;
            border-bottom: none;
        }
        .page-content .layui-tab-title .layui-this:after {
            height: 31px;
        }
    </style>
</head>
<body>
<!-- 顶部开始 -->
<div class="container">
    <div class="logo"><a>九点进销存</a></div>
    <div class="left_open">
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>
    <ul  id="topNav" class="layui-nav left" lay-filter="top-nav">
    </ul>
    <ul class="layui-nav right" lay-filter="" style="padding: 0 40px;">
        <li class="layui-nav-item">
            <a id="userName" href="javascript:;"></a>
            <span class="layui-nav-more"></span>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="#" id="mySeting">个性化设置</a></dd>
                <dd><a href="#" id="editPwd">修改密码</a></dd>
                <dd><a href="#" onclick="common.util.logout2(); return false;">退出</a></dd>
            </dl>
        </li>
    </ul>

</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav" >
    <div id="side-nav">
        <ul id="nav">
        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">

</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<!--左侧导到开始-->
<script id="nav_left_tpl" type="text/html">
    <li date-refresh="1">
        <a href="welcome.html">
            <i class="layui-icon layui-icon-home"></i>
            <cite>首页</cite>
        </a>
    </li>
    {{#  layui.each(d, function(index, menu){ }}
    <li>
        <a  class="nav-title" >
            <i class="layui-icon layui-icon-template-1"></i>
            {{ menu.name }}
            <i class="fa {{index == 0?'open':'close'}}"></i>
        </a>
        <ul class="sub-menu" style="{{index == 0?'':'display: none'}}">
            {{#  layui.each(menu.list,function(index,item){ }}
            <li date-refresh="1">
                {{# if (item.url.indexOf('http')>=0) { }}  
                    <a base-href="{{ item.url }}">
                {{# } else { }}  
                    <a base-href="../{{ item.url }}">
                {{# } }}  
                    <i class="layui-icon layui-icon-table"></i>
                    <cite>{{ item.name }}</cite>
                </a>
            </li>
            {{#}); }}
        </ul>
    </li>
    {{#}); }}
</script>
<!--左侧导航结束-->
<!--顶部导航开始-->
<script id="nav_top_tpl" type="text/html">
    <li class="layui-nav-item"><a href="dashboard.html">首页</a></li>
    {{#  layui.each(d, function(index, menu){ }}
    <li class="layui-nav-item">
        <a href="#" base-href="no">{{ menu.name }}</a>
        <dl class="layui-nav-child"> <!-- 二级菜单 -->
            {{#  layui.each(menu.list,function(index,item){ }}
            <dd>
                {{# if (item.url.indexOf('http')>=0) { }}  
                    <a base-href="{{ item.url }}">
                {{# } else { }}  
                    <a base-href="../{{ item.url }}">
                {{# } }}  
                {{ item.name }}</a></dd>
            {{#}); }}
        </dl>
    </li>
    {{#}); }}
</script>
<!--顶部导航结束-->
<script id="my_seting_ro" type="text/html">
    {{#
        var fn = function(){
            return '<i class="layui-icon">&#xe605;</i>';
        };
    }}
    <div class="x-body"  >
        <form  class="layui-form" action="" id="mySetingForm" >
            <div class="layui-form-item">
                <label class="layui-form-label">配色方案</label>
                <div class="layui-input-block">
                    <input  type="hidden" name="colorStyle" value="{{d.colorStyle}}">
                    <button class="layui-btn layui-btn-normal colorStyle" text="默认主题" val="1">{{d.colorStyle=='1'?fn():''}}默认主题</button>
                    <button class="layui-btn layui-bg-green colorStyle" text="绿色主题" val="2">{{d.colorStyle=='2'?fn():''}}绿色主题</button>
                    <button class="layui-btn layui-bg-cyan colorStyle" text="青色主题" val="3">{{d.colorStyle=='3'?fn():''}}青色主题</button>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">页面风格</label>
                <div class="layui-input-block">
                    <input type="radio" name="webStyle" lay-filter="webStyle" value="1" title="宽屏" {{d.webStyle=='1'?'checked':''}}>
                    <input type="radio" name="webStyle"  lay-filter="webStyle" value="2" title="窄屏" {{d.webStyle=='2'?'checked':''}}>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">菜单位置</label>
                <div class="layui-input-block">
                    <input type="radio" name="menuStyle" lay-filter="menuStyle" value="1" title="左侧菜单" {{d.menuStyle=='1'?'checked':''}}>
                    <input type="radio" name="menuStyle"  lay-filter="menuStyle" value="2" title="顶部菜单" {{d.menuStyle=='2'?'checked':''}}>
                   <!-- <input type="radio" name="menuStyle"  lay-filter="menuStyle" value="3" title="组合菜单" {{d.menuStyle=='3'?'checked':''}}>-->
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">业务区显示</label>
                <div class="layui-input-block">
                    <input type="radio" name="busStyle" lay-filter="busStyle" value="1" title="选项卡版" {{d.busStyle=='1'?'checked':''}}>
                    <input type="radio" name="busStyle"  lay-filter="busStyle" value="2" title="单页版" {{d.busStyle=='2'?'checked':''}}>
                </div>
            </div>
            <button class="sub-bindbtn" lay-submit lay-filter="bind" style="display: none;"/>
         </form>
    </div>
</script>
<script type="text/javascript" src="../assets/js/lib.js"></script>
<script>
    lib.path("../../")
    .use(['element', 'layer', 'layuiAdmin'], function () {
        var $ = layui.jquery,
            element = layui.element,
            layer = layui.layer,
            layuiAdmin=layui.layuiAdmin;


        layuiAdmin.init();
    });
</script>
</body>


<div class="x-body" id="editPwdPro" style="display: none" >
    <form  class="layui-form" action="" id="editPwdForm"  style="width: 350px;padding-top: 10px">
        <div class="layui-form-item local" >
            <label class="layui-form-label">原密码</label>
            <div class="layui-input-block">
                <input class="layui-input" type="password" name="password" required lay-verify="password" placeholder="请输入密码" autocomplete="off" />
            </div>
        </div>
        <div class="layui-form-item local" >
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-block">
                <input class="layui-input" type="password" id="newPassword"  name="newPassword" required lay-verify="newPassword" placeholder="请输入密码" autocomplete="off" />
            </div>
        </div>
        <div class="layui-form-item local" >
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-block">
                <input class="layui-input" type="password"  required lay-verify="newPassword2" placeholder="请输入密码" autocomplete="off" />
            </div>
        </div>
        <button class="sub-bindbtn" lay-submit lay-filter="bind" style="display: none;">
        </button>
    </form>
</div>


</html>
